<template>
  <div id="app">
    <app-sidebar class="app-sidebar"/>
    <router-view class="main"/>
  </div>
</template>

<script>
import appSidebar from '@/components/sidebar/index.vue'
export default {
  name: 'App',
  components: {
    appSidebar
  }
}
</script>

<style lang="stylus">
  .text-center
    text-align center
  .todo__btn
    margin-right 10px
    white-space: nowrap
    cursor: pointer
    background: #fff
    border: 1px solid #dcdfe6
    border-color: #dcdfe6
    color: #606266
    outline: none
    margin: 0
    padding: 5px 10px
    font-size: 12px
    border-radius: 4px
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  ::-webkit-scrollbar-corner {
    background-color: #fff;
  }
  ::-webkit-scrollbar-thumb {
    background-color: #c4c4c4;
    border: solid 2px #c4c4c4;
    border-radius: 3px;
  }
  ::-webkit-scrollbar-track-piece {
    background-color: #fff;
    -webkit-border-radius: 3px;
  }
  html,
  body,
  #app
    height: 100%;
  body {
    margin: 0px;
    overflow: hidden;
    font-size 12px
  }
  *{
    padding: 0px;
    margin: 0px;
  }
  a
    color #a0a9ad
    text-decoration none
  .app-sidebar
    width: 70px;
    position: fixed;
    left: 0px;
    background-color: #353d40;
    height: calc(100%);
  .main
    border: 1px solid transparent;
    margin-left: 70px;
    height: 100%;
</style>
